<?php
/**
 * Created by PhpStorm
 * User: Jhinwy
 * Date: 5/10/24
 * Time: 11:11 AM
 */

namespace app\common\model\shield;

use app\common\model\BaseModel;
use app\common\model\quickapp\Quickapp;

class BlackCity extends BaseModel
{

    protected $name = 'black_city';


    public function getPlatformNameAttr($value, $data)
    {
        return Quickapp::where('id', $data['platform'])->value('name');
    }
}
